import {
  createRouter,
  createWebHashHistory,
  RouteRecordRaw
} from 'vue-router'



const routes:Array<RouteRecordRaw> = [
  {
    path: '/',
    component: () => import('@/components/InputPage.vue')
  },
  {
    path: '/:pathMatch(.*)*',
    name: 'NotFound',
    component: () => import('@/components/404.vue')
  },
]

const router = createRouter({
  history: createWebHashHistory(),
  routes
})

export default router
